import request from '@/core/utils/request'

// 保存主题设置
export function saveTheme (data) {
  return request.post('/system/settings/theme/save', data)
}

// 根据编码查询设置值
export function fetchValueByCode (code) {
  return request.get(`/system/settings/value/${code}`)
}
